<template>
  <div id="app">
    <div id="nav">
      <router-link to="/"><i class="el-icon-s-home"></i>Home</router-link>|
      <router-link to="/about"><i class="el-icon-s-tools"></i>About</router-link>
    </div>
    <router-view />
  </div>
</template>

<style>
* {
  margin: 0;
  padding: 0;
}
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  height: 50px;
  line-height: 50px;
  background: seagreen;
}

#nav a {
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #42b983;
}
</style>
